﻿namespace ZilLion.Service.Core.Infrastructure.Middleware.WebSocket
{
    public interface IMessageCacheHandle
    {
        /// <summary>
        /// 保存信息
        /// </summary>
        /// <param name="clientKey"></param>
        /// <param name="socketMessage"></param>
        void SaveMessage(string clientKey,SocketMessage socketMessage);
        /// <summary>
        /// 获取信息
        /// </summary>
        /// <param name="clientKey"></param>
        void GetMessage(string clientKey);
    }
}